home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / README.sparc < prev   
Text File  |  1991-09-04  |  2KB  |  74 lines

  1. This file includes instructions for building ICE on SPARC platforms.
  2.  
  3. 0. Get a copy of ICE files.
  4.  
  5.    Here is one way:
  6.     cd ICE  # ICE here means the full pathname to the ice directory
  7.     make -f util/Makefile_tar tarfile_cool  # creates COOL tar file
  8.  
  9. 1. Bootstrap
  10.  
  11.    cd ICE  # ICE here means the full pathname to the ice directory
  12.    util/sparcsetup
  13.  
  14.    set path=(/ICE/bin $path)  # set path to include /ICE/bin and rehash
  15.  
  16.    [ if maintaining RCS on ICE do:
  17.      cd ICE/cool/config
  18.      cp sparc_rcs.cf sparc.cf ]
  19.  
  20.    cd ICE
  21.    pimake -Dsparc -DTOPDIR=/ICE -DREV=1 -I/ICE/cool/config
  22.    make bootstrap
  23.  
  24.    2. Build ICE
  25.  
  26.    *************************************************************************
  27.    Note: ICE assumes AT&T cfront 2.0 with:
  28.       CC2                     C++ compiler 
  29.      /usr/include/CC2         C++ include directory
  30.      cfront2                  cfront translator
  31.      patch2                   patch program
  32.      -lC2                     C++ library name
  33.    If these names are wrong on your sparc system you need to either 
  34.        link the correct names to the names ICE requires ...
  35.    or  set environment variables:  cfrontC (cfront2), patchC (patch2), 
  36.        LIBRARY (-lC2)
  37.    or  edit files "ICE/cool/config/sparc.cf" references to "CC2".
  38.        and edit files "ICE/CCC/config.h" references
  39.        to "cfront2", "patch2", and "-lC2".
  40.  
  41.    Also in "ICE/CCC/config.h"  it assumes tmp directory name of "/tmp".
  42.    *************************************************************************
  43.  
  44.    cd ICE
  45.    make clean clobber
  46.  
  47.    cd ICE/pisces
  48.    make all install 
  49.  
  50.    [ if maintaining RCS on ICE do:
  51.      cd ICE
  52.      make forcecheckout depend
  53.      (ignore errors from make depend) ]
  54.  
  55.    cd ICE
  56.    make all runtest results
  57.  
  58.    [ Note: some of the tests for Vector, Pair, Tree, and Set might fail.  This
  59.      is due to a known problem with some versions of cfront. ]
  60.  
  61.    cd ICE
  62.    chmod 444 include/*.p    # The .p files should only be modified when
  63.                 # compiling COOL library files;
  64.                 # Before updating COOL library, do: chmod +w *.p
  65. 3. Done
  66.    ls ICE/bin
  67.    ls ICE/lib/sparc
  68.    ls ICE/include/*.p
  69.  
  70. #To remake just cool:
  71.    rm /ice/lib/sparc/libCOOL.a
  72.    cd ICE/cool
  73.    make clean clobber includes all runtest results
  74.